/*
* @Author: sam
* @Date:   2017-10-19 15:25:30
* @Last Modified by:   sam
* @Last Modified time: 2017-10-25 22:02:48
*/
;(function(win){
	var Configs = {};
	var tag = 'test';
	Configs.host = {
		'test' : 'http://122.97.247.131:8082/api/v1/'
	};
	Configs.status = {
		'success' : 200,
		'empty' : 202
	};
	Configs.api = {
		'getCity' : 'Map/GetCity',
		'getDetailList' : 'Map/GetDetailList',
		'getVilliage' : 'Map/GetVilliage',
		'getContent' : 'Map/GetContent',
		'getVersion' : 'user/GetVersion'
	};

	//初始化
	apiConstructor();
	console.log(Configs);

	//数据接口
	function apiConstructor(){
		for(var key in Configs.api){
			Configs.api[key] = Configs.host[tag] + Configs.api[key];
		}
	}

	win.Configs = Configs;
})(window);